package com.runmi.webchat.aftersale.util;

public class Constants {
	
	
	public static final String SYSTEM_COOKIE="after_tocken";
	
    public static final String RETURN_CODE_SUCCESS = "0000";  //成功
    public static final String RETURN_CODE_SUCCESS_MESSAGE = "success";  //成功
    public static final String RETURN_CODE_FAIL = "9999";  //失败
    public static final String RETURN_CODE_FAIL_EXCEPTION = "系统错误,请重试";  //失败
 
    public static final String RETURN_CODE_KEY = "returnCode";
    public static final String RETURN_MESSAGE_KEY = "returnMessage"; 
    
    public static final String PREFIX_CGD="CGD";
    public static final String PREFIX_JXCGD="JXCGD";
    public static final String PREFIX_XSD="XSD";
    public static final String PREFIX_PDD="PDD";
    public static final String PREFIX_JXPDD="JXPDD";
    
    public static final String WX_OPENAPI_URL="https://open.weixin.qq.com";

	public static  final  String WX_API_URL="https://api.weixin.qq.com";


    /**
     * 参数设置常量 key定义
     */
    //重点商品常备安全库存系数
    public static final String KEY_POINT_ITEM_SAFE_INVENTORY_KEY = "KEY_POINT_ITEM_SAFE_INVENTORY";

    //非重点商品常备安全库存系数
    public static final String COMMON_ITEM_SAFE_INVENTORY_KEY = "COMMON_ITEM_SAFE_INVENTORY";

    //常备安全库存基于未来
    public static final String SAFE_INVENTORY_FUTURE_KEY = "SAFE_INVENTORY_FUTURE";

    //预估订单风险评估基于未来
    public static final String ORDER_SAFE_KEY = "ORDER_SAFE";
    
    //历史月均销量，基于历史
    public static final String HIS_SALE_KEY="HIS_SALE";

    //状态启用
    public static final Byte STATUS_OPEN = 1;
    //状态停用
    public static final Byte STATUS_CLOSE = 2;

    //删除标记：已删除
    public static final Byte DEL_FLAG_NO = 0;
    //删除标记：未删除
    public static final Byte DEL_FLAG_YES = 1;


    //渠道类型：线上
    public static final Byte Channel_Type_ONLINE = 0;
    //渠道类型：线下
    public static final Byte Channel_Type_OFFLINE = 1;

    //仓库是否计入库存：不计入
    public static final Byte IS_INVENTORY_NO = 0;
    //仓库是否计入库存：计入
    public static final Byte IS_INVENTORY_YES = 1;

    //仓库类型：1:工厂仓虚拟仓
    public static final Byte STOCK_TYPE_FACTORY_VIRTUAL = 1;
    //仓库类型：2中转仓
    public static final Byte STOCK_TYPE_FACTORY_TRANSFER = 2;
    //仓库类型：3外包仓
    public static final Byte STOCK_TYPE_FACTORY_OUTSOURCE = 3;
    //仓库类型：4:自建仓库
    public static final Byte STOCK_TYPE_SELF_BUILD = 4;

    /**
     * 生成文件的临时目录
     */
    public static final String SYSTEM_TEMP_FILE_PATH = "/var/tmp/";

    /**
     * po订单生成临时文件目录
     */
    public static final String SYSTEM_TEMP_PO_FILE_PATH = SYSTEM_TEMP_FILE_PATH + "po/";
    
    public static final String SYSTEM_IMAGE_FILE_PATH="/data/upload/wxewm";
}

